package com.shop.cloud.model.request.api;

import java.util.ArrayList;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author xiaojun.wang
 */
@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class ApiGetGoodsDetailByFeatureRequestModel extends ApiRestfulRequest {

    private static final long serialVersionUID = -3286520204644035655L;

    @JsonProperty("feature")
    @ApiModelProperty(value = "规格数组，数组每项：规格id|规格值,例：[1|2，2|1]", example = "", required = true)
    private ArrayList<String> feature;
    
    @JsonProperty("id")
    @ApiModelProperty(value = "商品id", example = "1", required = true)
    private String id;
    
    @JsonProperty("verify")
    @ApiModelProperty(value = "加密字符串", example = "", required = true)
    private String verify;
    
    public String getVerify() {
		return verify;
	}

	public void setVerify(String verify) {
		this.verify = verify;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public ArrayList<String> getFeature() {
		return feature;
	}

	public void setFeature(ArrayList<String> feature) {
		this.feature = feature;
	}
 
}
